package website.lhc.adminsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;
import website.lhc.admincommo.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 资源信息表
 * </p>
 *
 * @author 582895699@qq.com
 * @since 2021-02-08
 */
@Getter
@Setter
@ApiModel(value="Resource对象", description="资源信息表")
public class Resource extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "文件名称")
    private String resourceName;

    @ApiModelProperty(value = "文件路径")
    private String resourcePath;

    @ApiModelProperty(value = "文件类型")
    private String resourceType;

    @ApiModelProperty(value = "文件大小")
    private Long size;

    @ApiModelProperty(value = "上传时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "上传者")
    private String createUser;

    @ApiModelProperty(value = "存储桶")
    private String bucketName;


}
